home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / setup / vbnet / 23 web forms and controls / firstwebforms / webcontrolsform.aspx < prev    next >
Encoding:
ASP.NET Web Form  |  2002-03-17  |  2.8 KB  |  49 lines

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebControlsForm.aspx.vb" Inherits="FirstWebForms.WebControlsForm" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4.     <HEAD>
  5.         <title>WebControlsForm</title>
  6.         <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7.         <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8.         <meta content="JavaScript" name="vs_defaultClientScript">
  9.         <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10.     </HEAD>
  11.     <body>
  12.         <form id="Form1" method="post" runat="server">
  13.             <H1>Web Forms Controls Demo</H1>
  14.             <P>This form demonstrates the main features of all basic Web Forms controls.</P>
  15.             <P> </P>
  16.             <P><asp:literal id="Literal1" runat="server" Text="Literal control"></asp:literal>   
  17.                 <asp:label id="Label1" runat="server" Font-Bold="True" Font-Italic="True" Font-Size="Large">Label control</asp:label>   
  18.                 <asp:panel id="Panel1" runat="server" Width="160px" Height="47px">Panel</asp:panel></P>
  19.             <P><asp:placeholder id="PlaceHolder1" runat="server"></asp:placeholder></P>
  20.             <P><asp:textbox id="TextBox1" runat="server">SingleLine textbox</asp:textbox>  
  21.                 <asp:textbox id="TextBox2" runat="server" TextMode="MultiLine" Rows="3" Width="251px">Multiline Textbox control</asp:textbox></P>
  22.             <P><asp:checkbox id="CheckBox1" runat="server" Text="CheckBox control"></asp:checkbox>       
  23.                 <asp:radiobutton id="RadioButton1" runat="server" Text="RadioButton control"></asp:radiobutton></P>
  24.             <P><asp:hyperlink id="HyperLink1" runat="server">HyperLink control</asp:hyperlink>   
  25.                 <asp:image id="Image1" runat="server" ImageUrl="file:///E:\Inetpub\wwwroot\FirstWebForms\logo.gif"></asp:image>    
  26.                 <= Image control</P>
  27.             <P><asp:button id="Button1" runat="server" Text="Button control "></asp:button>   
  28.                 <asp:LinkButton id="LinkButton1" runat="server">LinkButton control</asp:LinkButton>     
  29.                 <asp:ImageButton id="ImageButton1" runat="server" BorderStyle="Ridge" ImageUrl="file:///E:\Inetpub\wwwroot\print.gif"></asp:ImageButton> <= 
  30.                 ImageButton control</P>
  31.             <P> 
  32.                 <asp:Table id="Table1" runat="server" BorderWidth="1px" GridLines="Both">
  33.                     <asp:TableRow>
  34.                         <asp:TableCell Text="Table control"></asp:TableCell>
  35.                         <asp:TableCell></asp:TableCell>
  36.                         <asp:TableCell></asp:TableCell>
  37.                         <asp:TableCell></asp:TableCell>
  38.                     </asp:TableRow>
  39.                     <asp:TableRow>
  40.                         <asp:TableCell></asp:TableCell>
  41.                         <asp:TableCell></asp:TableCell>
  42.                         <asp:TableCell></asp:TableCell>
  43.                         <asp:TableCell></asp:TableCell>
  44.                     </asp:TableRow>
  45.                 </asp:Table></P>
  46.         </form>
  47.     </body>
  48. </HTML>
  49.